package com.yy.hi.library.restful

import java.io.IOException

interface HiCall<T> {
    @Throws(IOException::class)
    fun execute(): HiResponse<T>

    fun enqueue(call: HiCallback<T>)

    interface Factory {
        fun newCall(request: HiRequest): HiCall<*>
    }
}